/*
 *	comp_captab.c -- The names of the capabilities indexed via a hash
 *		         table for the compiler.
 *
 */

#include <curses.priv.h>
#include <tic.h>
#include <hashsize.h>

static const char info_names_text[] = \
"bw\0" "am\0" "xsb\0" "xhp\0" "xenl\0" "eo\0" "gn\0" "hc\0" "km\0" \
"hs\0" "in\0" "da\0" "db\0" "mir\0" "msgr\0" "os\0" "eslok\0" "xt\0" \
"hz\0" "ul\0" "xon\0" "nxon\0" "mc5i\0" "chts\0" "nrrmc\0" "npc\0" \
"ndscr\0" "ccc\0" "bce\0" "hls\0" "xhpa\0" "crxm\0" "daisy\0" "xvpa\0" \
"sam\0" "cpix\0" "lpix\0" "cols\0" "it\0" "lines\0" "lm\0" "xmc\0" \
"pb\0" "vt\0" "wsl\0" "nlab\0" "lh\0" "lw\0" "ma\0" "wnum\0" "colors\0" \
"pairs\0" "ncv\0" "bufsz\0" "spinv\0" "spinh\0" "maddr\0" "mjump\0" \
"mcs\0" "mls\0" "npins\0" "orc\0" "orl\0" "orhi\0" "orvi\0" "cps\0" \
"widcs\0" "btns\0" "bitwin\0" "bitype\0" "cbt\0" "bel\0" "cr\0" "csr\0" \
"tbc\0" "clear\0" "el\0" "ed\0" "hpa\0" "cmdch\0" "cup\0" "cud1\0" \
"home\0" "civis\0" "cub1\0" "mrcup\0" "cnorm\0" "cuf1\0" "ll\0" \
"cuu1\0" "cvvis\0" "dch1\0" "dl1\0" "dsl\0" "hd\0" "smacs\0" "blink\0" \
"bold\0" "smcup\0" "smdc\0" "dim\0" "smir\0" "invis\0" "prot\0" "rev\0" \
"smso\0" "smul\0" "ech\0" "rmacs\0" "sgr0\0" "rmcup\0" "rmdc\0" \
"rmir\0" "rmso\0" "rmul\0" "flash\0" "ff\0" "fsl\0" "is1\0" "is2\0" \
"is3\0" "if\0" "ich1\0" "il1\0" "ip\0" "kbs\0" "ktbc\0" "kclr\0" \
"kctab\0" "kdch1\0" "kdl1\0" "kcud1\0" "krmir\0" "kel\0" "ked\0" \
"kf0\0" "kf1\0" "kf10\0" "kf2\0" "kf3\0" "kf4\0" "kf5\0" "kf6\0" \
"kf7\0" "kf8\0" "kf9\0" "khome\0" "kich1\0" "kil1\0" "kcub1\0" "kll\0" \
"knp\0" "kpp\0" "kcuf1\0" "kind\0" "kri\0" "khts\0" "kcuu1\0" "rmkx\0" \
"smkx\0" "lf0\0" "lf1\0" "lf10\0" "lf2\0" "lf3\0" "lf4\0" "lf5\0" \
"lf6\0" "lf7\0" "lf8\0" "lf9\0" "rmm\0" "smm\0" "nel\0" "pad\0" "dch\0" \
"dl\0" "cud\0" "ich\0" "indn\0" "il\0" "cub\0" "cuf\0" "rin\0" "cuu\0" \
"pfkey\0" "pfloc\0" "pfx\0" "mc0\0" "mc4\0" "mc5\0" "rep\0" "rs1\0" \
"rs2\0" "rs3\0" "rf\0" "rc\0" "vpa\0" "sc\0" "ind\0" "ri\0" "sgr\0" \
"hts\0" "wind\0" "ht\0" "tsl\0" "uc\0" "hu\0" "iprog\0" "ka1\0" "ka3\0" \
"kb2\0" "kc1\0" "kc3\0" "mc5p\0" "rmp\0" "acsc\0" "pln\0" "kcbt\0" \
"smxon\0" "rmxon\0" "smam\0" "rmam\0" "xonc\0" "xoffc\0" "enacs\0" \
"smln\0" "rmln\0" "kbeg\0" "kcan\0" "kclo\0" "kcmd\0" "kcpy\0" "kcrt\0" \
"kend\0" "kent\0" "kext\0" "kfnd\0" "khlp\0" "kmrk\0" "kmsg\0" "kmov\0" \
"knxt\0" "kopn\0" "kopt\0" "kprv\0" "kprt\0" "krdo\0" "kref\0" "krfr\0" \
"krpl\0" "krst\0" "kres\0" "ksav\0" "kspd\0" "kund\0" "kBEG\0" "kCAN\0" \
"kCMD\0" "kCPY\0" "kCRT\0" "kDC\0" "kDL\0" "kslt\0" "kEND\0" "kEOL\0" \
"kEXT\0" "kFND\0" "kHLP\0" "kHOM\0" "kIC\0" "kLFT\0" "kMSG\0" "kMOV\0" \
"kNXT\0" "kOPT\0" "kPRV\0" "kPRT\0" "kRDO\0" "kRPL\0" "kRIT\0" "kRES\0" \
"kSAV\0" "kSPD\0" "kUND\0" "rfi\0" "kf11\0" "kf12\0" "kf13\0" "kf14\0" \
"kf15\0" "kf16\0" "kf17\0" "kf18\0" "kf19\0" "kf20\0" "kf21\0" "kf22\0" \
"kf23\0" "kf24\0" "kf25\0" "kf26\0" "kf27\0" "kf28\0" "kf29\0" "kf30\0" \
"kf31\0" "kf32\0" "kf33\0" "kf34\0" "kf35\0" "kf36\0" "kf37\0" "kf38\0" \
"kf39\0" "kf40\0" "kf41\0" "kf42\0" "kf43\0" "kf44\0" "kf45\0" "kf46\0" \
"kf47\0" "kf48\0" "kf49\0" "kf50\0" "kf51\0" "kf52\0" "kf53\0" "kf54\0" \
"kf55\0" "kf56\0" "kf57\0" "kf58\0" "kf59\0" "kf60\0" "kf61\0" "kf62\0" \
"kf63\0" "el1\0" "mgc\0" "smgl\0" "smgr\0" "fln\0" "sclk\0" "dclk\0" \
"rmclk\0" "cwin\0" "wingo\0" "hup\0" "dial\0" "qdial\0" "tone\0" \
"pulse\0" "hook\0" "pause\0" "wait\0" "u0\0" "u1\0" "u2\0" "u3\0" \
"u4\0" "u5\0" "u6\0" "u7\0" "u8\0" "u9\0" "op\0" "oc\0" "initc\0" \
"initp\0" "scp\0" "setf\0" "setb\0" "cpi\0" "lpi\0" "chr\0" "cvr\0" \
"defc\0" "swidm\0" "sdrfq\0" "sitm\0" "slm\0" "smicm\0" "snlq\0" \
"snrmq\0" "sshm\0" "ssubm\0" "ssupm\0" "sum\0" "rwidm\0" "ritm\0" \
"rlm\0" "rmicm\0" "rshm\0" "rsubm\0" "rsupm\0" "rum\0" "mhpa\0" \
"mcud1\0" "mcub1\0" "mcuf1\0" "mvpa\0" "mcuu1\0" "porder\0" "mcud\0" \
"mcub\0" "mcuf\0" "mcuu\0" "scs\0" "smgb\0" "smgbp\0" "smglp\0" \
"smgrp\0" "smgt\0" "smgtp\0" "sbim\0" "scsd\0" "rbim\0" "rcsd\0" \
"subcs\0" "supcs\0" "docr\0" "zerom\0" "csnm\0" "kmous\0" "minfo\0" \
"reqmp\0" "getm\0" "setaf\0" "setab\0" "pfxl\0" "devt\0" "csin\0" \
"s0ds\0" "s1ds\0" "s2ds\0" "s3ds\0" "smglr\0" "smgtb\0" "birep\0" \
"binel\0" "bicr\0" "colornm\0" "defbi\0" "endbi\0" "setcolor\0" \
"slines\0" "dispc\0" "smpch\0" "rmpch\0" "smsc\0" "rmsc\0" "pctrm\0" \
"scesc\0" "scesa\0" "ehhlm\0" "elhlm\0" "elohlm\0" "erhlm\0" "ethlm\0" \
"evhlm\0" "sgr1\0" "slength\0" "OTi2\0" "OTrs\0" "OTug\0" "OTbs\0" \
"OTns\0" "OTnc\0" "OTdC\0" "OTdN\0" "OTnl\0" "OTbc\0" "OTMT\0" "OTNL\0" \
"OTdB\0" "OTdT\0" "OTkn\0" "OTko\0" "OTma\0" "OTpt\0" "OTxr\0" "OTG2\0" \
"OTG3\0" "OTG1\0" "OTG4\0" "OTGR\0" "OTGL\0" "OTGU\0" "OTGD\0" "OTGH\0" \
"OTGV\0" "OTGC\0" "meml\0" "memu\0" "box1\0" ;

static name_table_data const info_names_data[] =
{
	{               0,	   BOOLEAN,	  0,  -1 },
	{               3,	   BOOLEAN,	  1,  -1 },
	{               6,	   BOOLEAN,	  2,  -1 },
	{              10,	   BOOLEAN,	  3,  -1 },
	{              14,	   BOOLEAN,	  4,  -1 },
	{              19,	   BOOLEAN,	  5,  -1 },
	{              22,	   BOOLEAN,	  6,  -1 },
	{              25,	   BOOLEAN,	  7,  -1 },
	{              28,	   BOOLEAN,	  8,  -1 },
	{              31,	   BOOLEAN,	  9,  -1 },
	{              34,	   BOOLEAN,	 10,  -1 },
	{              37,	   BOOLEAN,	 11,  -1 },
	{              40,	   BOOLEAN,	 12,  -1 },
	{              43,	   BOOLEAN,	 13,  -1 },
	{              47,	   BOOLEAN,	 14,  -1 },
	{              52,	   BOOLEAN,	 15,  -1 },
	{              55,	   BOOLEAN,	 16,  -1 },
	{              61,	   BOOLEAN,	 17,  -1 },
	{              64,	   BOOLEAN,	 18,  -1 },
	{              67,	   BOOLEAN,	 19,  -1 },
	{              70,	   BOOLEAN,	 20,  -1 },
	{              74,	   BOOLEAN,	 21,  -1 },
	{              79,	   BOOLEAN,	 22,  -1 },
	{              84,	   BOOLEAN,	 23,  -1 },
	{              89,	   BOOLEAN,	 24,  -1 },
	{              95,	   BOOLEAN,	 25,  -1 },
	{              99,	   BOOLEAN,	 26,  -1 },
	{             105,	   BOOLEAN,	 27,  -1 },
	{             109,	   BOOLEAN,	 28,  -1 },
	{             113,	   BOOLEAN,	 29,  -1 },
	{             117,	   BOOLEAN,	 30,  -1 },
	{             122,	   BOOLEAN,	 31,  -1 },
	{             127,	   BOOLEAN,	 32,  -1 },
	{             133,	   BOOLEAN,	 33,  -1 },
	{             138,	   BOOLEAN,	 34,  -1 },
	{             142,	   BOOLEAN,	 35,  -1 },
	{             147,	   BOOLEAN,	 36,  -1 },
	{             152,	    NUMBER,	  0,  -1 },
	{             157,	    NUMBER,	  1,  -1 },
	{             160,	    NUMBER,	  2,   6 },
	{             166,	    NUMBER,	  3,  -1 },
	{             169,	    NUMBER,	  4,  -1 },
	{             173,	    NUMBER,	  5,  -1 },
	{             176,	    NUMBER,	  6,  -1 },
	{             179,	    NUMBER,	  7,  -1 },
	{             183,	    NUMBER,	  8,  -1 },
	{             188,	    NUMBER,	  9,  -1 },
	{             191,	    NUMBER,	 10,  -1 },
	{             194,	    NUMBER,	 11,  -1 },
	{             197,	    NUMBER,	 12,  -1 },
	{             202,	    NUMBER,	 13,  -1 },
	{             209,	    NUMBER,	 14,  -1 },
	{             215,	    NUMBER,	 15,  -1 },
	{             219,	    NUMBER,	 16,  46 },
	{             225,	    NUMBER,	 17,  -1 },
	{             231,	    NUMBER,	 18,  -1 },
	{             237,	    NUMBER,	 19,  -1 },
	{             243,	    NUMBER,	 20,  -1 },
	{             249,	    NUMBER,	 21,  -1 },
	{             253,	    NUMBER,	 22,  -1 },
	{             257,	    NUMBER,	 23,  -1 },
	{             263,	    NUMBER,	 24,  -1 },
	{             267,	    NUMBER,	 25,  -1 },
	{             271,	    NUMBER,	 26,  -1 },
	{             276,	    NUMBER,	 27,  -1 },
	{             281,	    NUMBER,	 28,  -1 },
	{             285,	    NUMBER,	 29,  -1 },
	{             291,	    NUMBER,	 30,  -1 },
	{             296,	    NUMBER,	 31,  -1 },
	{             303,	    NUMBER,	 32,  68 },
	{             310,	    STRING,	  0,  -1 },
	{             314,	    STRING,	  1,  -1 },
	{             318,	    STRING,	  2,  -1 },
	{             321,	    STRING,	  3,  -1 },
	{             325,	    STRING,	  4,  -1 },
	{             329,	    STRING,	  5,  -1 },
	{             335,	    STRING,	  6,  -1 },
	{             338,	    STRING,	  7,  -1 },
	{             341,	    STRING,	  8,  -1 },
	{             345,	    STRING,	  9,  -1 },
	{             351,	    STRING,	 10,  73 },
	{             355,	    STRING,	 11,  -1 },
	{             360,	    STRING,	 12,  -1 },
	{             365,	    STRING,	 13,  -1 },
	{             371,	    STRING,	 14,  -1 },
	{             376,	    STRING,	 15,  -1 },
	{             382,	    STRING,	 16,  -1 },
	{             388,	    STRING,	 17,  -1 },
	{             393,	    STRING,	 18,  -1 },
	{             396,	    STRING,	 19,  -1 },
	{             401,	    STRING,	 20,  -1 },
	{             407,	    STRING,	 21,  -1 },
	{             412,	    STRING,	 22,  -1 },
	{             416,	    STRING,	 23,  -1 },
	{             420,	    STRING,	 24,  -1 },
	{             423,	    STRING,	 25,  -1 },
	{             429,	    STRING,	 26,  -1 },
	{             435,	    STRING,	 27,  -1 },
	{             440,	    STRING,	 28,  -1 },
	{             446,	    STRING,	 29,  -1 },
	{             451,	    STRING,	 30,  -1 },
	{             455,	    STRING,	 31,  -1 },
	{             460,	    STRING,	 32,  -1 },
	{             466,	    STRING,	 33,  -1 },
	{             471,	    STRING,	 34,  -1 },
	{             475,	    STRING,	 35,  -1 },
	{             480,	    STRING,	 36,  -1 },
	{             485,	    STRING,	 37,  -1 },
	{             489,	    STRING,	 38,  -1 },
	{             495,	    STRING,	 39,  -1 },
	{             500,	    STRING,	 40,  -1 },
	{             506,	    STRING,	 41,  -1 },
	{             511,	    STRING,	 42,  -1 },
	{             516,	    STRING,	 43,  -1 },
	{             521,	    STRING,	 44,  -1 },
	{             526,	    STRING,	 45,  -1 },
	{             532,	    STRING,	 46,  -1 },
	{             535,	    STRING,	 47,  -1 },
	{             539,	    STRING,	 48,  -1 },
	{             543,	    STRING,	 49,  59 },
	{             547,	    STRING,	 50,  76 },
	{             551,	    STRING,	 51,  -1 },
	{             554,	    STRING,	 52,  20 },
	{             559,	    STRING,	 53,  -1 },
	{             563,	    STRING,	 54,  -1 },
	{             566,	    STRING,	 55,  -1 },
	{             570,	    STRING,	 56,  -1 },
	{             575,	    STRING,	 57,  98 },
	{             580,	    STRING,	 58,  -1 },
	{             586,	    STRING,	 59,  -1 },
	{             592,	    STRING,	 60,  -1 },
	{             597,	    STRING,	 61,  -1 },
	{             603,	    STRING,	 62,  -1 },
	{             609,	    STRING,	 63,  -1 },
	{             613,	    STRING,	 64,  -1 },
	{             617,	    STRING,	 65,  -1 },
	{             621,	    STRING,	 66,  -1 },
	{             625,	    STRING,	 67,  -1 },
	{             630,	    STRING,	 68,  -1 },
	{             634,	    STRING,	 69,  -1 },
	{             638,	    STRING,	 70,  -1 },
	{             642,	    STRING,	 71,  61 },
	{             646,	    STRING,	 72,  -1 },
	{             650,	    STRING,	 73,  -1 },
	{             654,	    STRING,	 74,  -1 },
	{             658,	    STRING,	 75,  -1 },
	{             662,	    STRING,	 76,  -1 },
	{             668,	    STRING,	 77,  -1 },
	{             674,	    STRING,	 78,  -1 },
	{             679,	    STRING,	 79,  -1 },
	{             685,	    STRING,	 80,  -1 },
	{             689,	    STRING,	 81,  -1 },
	{             693,	    STRING,	 82,  -1 },
	{             697,	    STRING,	 83,  -1 },
	{             703,	    STRING,	 84,  55 },
	{             708,	    STRING,	 85, 105 },
	{             712,	    STRING,	 86,  -1 },
	{             717,	    STRING,	 87,  81 },
	{             723,	    STRING,	 88,  -1 },
	{             728,	    STRING,	 89,  -1 },
	{             733,	    STRING,	 90,  -1 },
	{             737,	    STRING,	 91,  -1 },
	{             741,	    STRING,	 92,  -1 },
	{             746,	    STRING,	 93,  -1 },
	{             750,	    STRING,	 94,  33 },
	{             754,	    STRING,	 95,  -1 },
	{             758,	    STRING,	 96,  -1 },
	{             762,	    STRING,	 97,  -1 },
	{             766,	    STRING,	 98,   7 },
	{             770,	    STRING,	 99,  94 },
	{             774,	    STRING,	100,  -1 },
	{             778,	    STRING,	101, 131 },
	{             782,	    STRING,	102,  -1 },
	{             786,	    STRING,	103,  -1 },
	{             790,	    STRING,	104,  30 },
	{             794,	    STRING,	105,  -1 },
	{             798,	    STRING,	106,  -1 },
	{             801,	    STRING,	107,  -1 },
	{             805,	    STRING,	108,  -1 },
	{             809,	    STRING,	109,  -1 },
	{             814,	    STRING,	110,  -1 },
	{             817,	    STRING,	111,  -1 },
	{             821,	    STRING,	112, 156 },
	{             825,	    STRING,	113,  -1 },
	{             829,	    STRING,	114,  -1 },
	{             833,	    STRING,	115,  51 },
	{             839,	    STRING,	116,  -1 },
	{             845,	    STRING,	117,  -1 },
	{             849,	    STRING,	118,  -1 },
	{             853,	    STRING,	119,  -1 },
	{             857,	    STRING,	120,  -1 },
	{             861,	    STRING,	121,  -1 },
	{             865,	    STRING,	122,  -1 },
	{             869,	    STRING,	123,  -1 },
	{             873,	    STRING,	124, 126 },
	{             877,	    STRING,	125,  -1 },
	{             880,	    STRING,	126,  -1 },
	{             883,	    STRING,	127,  -1 },
	{             887,	    STRING,	128,  -1 },
	{             890,	    STRING,	129,  -1 },
	{             894,	    STRING,	130,  -1 },
	{             897,	    STRING,	131,  -1 },
	{             901,	    STRING,	132,  -1 },
	{             905,	    STRING,	133,  -1 },
	{             910,	    STRING,	134,  -1 },
	{             913,	    STRING,	135,  -1 },
	{             917,	    STRING,	136,  23 },
	{             920,	    STRING,	137,  -1 },
	{             923,	    STRING,	138,  -1 },
	{             929,	    STRING,	139,  -1 },
	{             933,	    STRING,	140,  -1 },
	{             937,	    STRING,	141, 210 },
	{             941,	    STRING,	142, 211 },
	{             945,	    STRING,	143, 135 },
	{             949,	    STRING,	144,  -1 },
	{             954,	    STRING,	145,  -1 },
	{             958,	    STRING,	146, 176 },
	{             963,	    STRING,	147,  -1 },
	{             967,	    STRING,	148, 194 },
	{             972,	    STRING,	149,  -1 },
	{             978,	    STRING,	150,  -1 },
	{             984,	    STRING,	151, 137 },
	{             989,	    STRING,	152,  -1 },
	{             994,	    STRING,	153,  -1 },
	{             999,	    STRING,	154,  -1 },
	{            1005,	    STRING,	155,  -1 },
	{            1011,	    STRING,	156,  -1 },
	{            1016,	    STRING,	157,  -1 },
	{            1021,	    STRING,	158,  -1 },
	{            1026,	    STRING,	159,  -1 },
	{            1031,	    STRING,	160,  -1 },
	{            1036,	    STRING,	161,  -1 },
	{            1041,	    STRING,	162,  -1 },
	{            1046,	    STRING,	163,  54 },
	{            1051,	    STRING,	164, 192 },
	{            1056,	    STRING,	165,  -1 },
	{            1061,	    STRING,	166,  -1 },
	{            1066,	    STRING,	167, 193 },
	{            1071,	    STRING,	168,  -1 },
	{            1076,	    STRING,	169,  70 },
	{            1081,	    STRING,	170, 235 },
	{            1086,	    STRING,	171,  -1 },
	{            1091,	    STRING,	172,  -1 },
	{            1096,	    STRING,	173, 177 },
	{            1101,	    STRING,	174,  -1 },
	{            1106,	    STRING,	175,  -1 },
	{            1111,	    STRING,	176,  -1 },
	{            1116,	    STRING,	177,  -1 },
	{            1121,	    STRING,	178,  -1 },
	{            1126,	    STRING,	179, 239 },
	{            1131,	    STRING,	180, 219 },
	{            1136,	    STRING,	181,  80 },
	{            1141,	    STRING,	182, 249 },
	{            1146,	    STRING,	183, 252 },
	{            1151,	    STRING,	184, 240 },
	{            1156,	    STRING,	185, 254 },
	{            1161,	    STRING,	186,  -1 },
	{            1166,	    STRING,	187,  -1 },
	{            1171,	    STRING,	188, 101 },
	{            1176,	    STRING,	189,  -1 },
	{            1181,	    STRING,	190,  -1 },
	{            1186,	    STRING,	191,  -1 },
	{            1190,	    STRING,	192,  -1 },
	{            1194,	    STRING,	193, 244 },
	{            1199,	    STRING,	194,  -1 },
	{            1204,	    STRING,	195, 152 },
	{            1209,	    STRING,	196,  -1 },
	{            1214,	    STRING,	197, 150 },
	{            1219,	    STRING,	198,  -1 },
	{            1224,	    STRING,	199, 268 },
	{            1229,	    STRING,	200,  -1 },
	{            1233,	    STRING,	201,  72 },
	{            1238,	    STRING,	202,  -1 },
	{            1243,	    STRING,	203,  -1 },
	{            1248,	    STRING,	204,  -1 },
	{            1253,	    STRING,	205,  -1 },
	{            1258,	    STRING,	206,  -1 },
	{            1263,	    STRING,	207, 196 },
	{            1268,	    STRING,	208,  -1 },
	{            1273,	    STRING,	209,  -1 },
	{            1278,	    STRING,	210,  -1 },
	{            1283,	    STRING,	211,  -1 },
	{            1288,	    STRING,	212, 281 },
	{            1293,	    STRING,	213, 272 },
	{            1298,	    STRING,	214, 283 },
	{            1303,	    STRING,	215,  -1 },
	{            1307,	    STRING,	216,  -1 },
	{            1312,	    STRING,	217, 134 },
	{            1317,	    STRING,	218,  -1 },
	{            1322,	    STRING,	219,  -1 },
	{            1327,	    STRING,	220,  -1 },
	{            1332,	    STRING,	221,  43 },
	{            1337,	    STRING,	222, 256 },
	{            1342,	    STRING,	223,  -1 },
	{            1347,	    STRING,	224,  -1 },
	{            1352,	    STRING,	225, 286 },
	{            1357,	    STRING,	226, 287 },
	{            1362,	    STRING,	227, 288 },
	{            1367,	    STRING,	228, 289 },
	{            1372,	    STRING,	229, 290 },
	{            1377,	    STRING,	230, 291 },
	{            1382,	    STRING,	231, 292 },
	{            1387,	    STRING,	232, 293 },
	{            1392,	    STRING,	233, 294 },
	{            1397,	    STRING,	234, 133 },
	{            1402,	    STRING,	235, 296 },
	{            1407,	    STRING,	236, 297 },
	{            1412,	    STRING,	237, 298 },
	{            1417,	    STRING,	238, 299 },
	{            1422,	    STRING,	239, 300 },
	{            1427,	    STRING,	240, 301 },
	{            1432,	    STRING,	241, 302 },
	{            1437,	    STRING,	242, 303 },
	{            1442,	    STRING,	243, 304 },
	{            1447,	    STRING,	244, 257 },
	{            1452,	    STRING,	245, 306 },
	{            1457,	    STRING,	246, 307 },
	{            1462,	    STRING,	247, 308 },
	{            1467,	    STRING,	248, 309 },
	{            1472,	    STRING,	249, 310 },
	{            1477,	    STRING,	250, 311 },
	{            1482,	    STRING,	251, 312 },
	{            1487,	    STRING,	252, 313 },
	{            1492,	    STRING,	253, 314 },
	{            1497,	    STRING,	254, 226 },
	{            1502,	    STRING,	255, 316 },
	{            1507,	    STRING,	256, 317 },
	{            1512,	    STRING,	257, 318 },
	{            1517,	    STRING,	258, 319 },
	{            1522,	    STRING,	259, 320 },
	{            1527,	    STRING,	260, 321 },
	{            1532,	    STRING,	261, 322 },
	{            1537,	    STRING,	262, 323 },
	{            1542,	    STRING,	263, 324 },
	{            1547,	    STRING,	264, 258 },
	{            1552,	    STRING,	265, 326 },
	{            1557,	    STRING,	266, 327 },
	{            1562,	    STRING,	267, 328 },
	{            1567,	    STRING,	268, 329 },
	{            1572,	    STRING,	269,  -1 },
	{            1576,	    STRING,	270,  -1 },
	{            1580,	    STRING,	271, 335 },
	{            1585,	    STRING,	272, 332 },
	{            1590,	    STRING,	273,  -1 },
	{            1594,	    STRING,	274,  -1 },
	{            1599,	    STRING,	275,  -1 },
	{            1604,	    STRING,	276,  -1 },
	{            1610,	    STRING,	277,  37 },
	{            1615,	    STRING,	278,  -1 },
	{            1621,	    STRING,	279,  -1 },
	{            1625,	    STRING,	280,  -1 },
	{            1630,	    STRING,	281,  -1 },
	{            1636,	    STRING,	282,  -1 },
	{            1641,	    STRING,	283,  -1 },
	{            1647,	    STRING,	284,  -1 },
	{            1652,	    STRING,	285,   8 },
	{            1658,	    STRING,	286, 262 },
	{            1663,	    STRING,	287,  -1 },
	{            1666,	    STRING,	288,  -1 },
	{            1669,	    STRING,	289,  -1 },
	{            1672,	    STRING,	290,  -1 },
	{            1675,	    STRING,	291,  -1 },
	{            1678,	    STRING,	292,  -1 },
	{            1681,	    STRING,	293,  -1 },
	{            1684,	    STRING,	294,  -1 },
	{            1687,	    STRING,	295,  -1 },
	{            1690,	    STRING,	296,  -1 },
	{            1693,	    STRING,	297,  -1 },
	{            1696,	    STRING,	298,  -1 },
	{            1699,	    STRING,	299,  -1 },
	{            1705,	    STRING,	300,  -1 },
	{            1711,	    STRING,	301,  -1 },
	{            1715,	    STRING,	302, 325 },
	{            1720,	    STRING,	303, 221 },
	{            1725,	    STRING,	304, 243 },
	{            1729,	    STRING,	305,  -1 },
	{            1733,	    STRING,	306, 250 },
	{            1737,	    STRING,	307,  -1 },
	{            1741,	    STRING,	308, 141 },
	{            1746,	    STRING,	309, 248 },
	{            1752,	    STRING,	310, 218 },
	{            1758,	    STRING,	311,  -1 },
	{            1763,	    STRING,	312, 201 },
	{            1767,	    STRING,	313, 229 },
	{            1773,	    STRING,	314, 264 },
	{            1778,	    STRING,	315, 253 },
	{            1784,	    STRING,	316, 334 },
	{            1789,	    STRING,	317,  -1 },
	{            1795,	    STRING,	318, 236 },
	{            1801,	    STRING,	319, 185 },
	{            1805,	    STRING,	320,  -1 },
	{            1811,	    STRING,	321,  -1 },
	{            1816,	    STRING,	322,  -1 },
	{            1820,	    STRING,	323,  -1 },
	{            1826,	    STRING,	324, 112 },
	{            1831,	    STRING,	325,  -1 },
	{            1837,	    STRING,	326,  -1 },
	{            1843,	    STRING,	327,  -1 },
	{            1847,	    STRING,	328,  -1 },
	{            1852,	    STRING,	329,  -1 },
	{            1858,	    STRING,	330,  -1 },
	{            1864,	    STRING,	331,  53 },
	{            1870,	    STRING,	332,  -1 },
	{            1875,	    STRING,	333,  47 },
	{            1881,	    STRING,	334, 155 },
	{            1888,	    STRING,	335,  -1 },
	{            1893,	    STRING,	336,  -1 },
	{            1898,	    STRING,	337,  -1 },
	{            1903,	    STRING,	338,  -1 },
	{            1908,	    STRING,	339,  -1 },
	{            1912,	    STRING,	340,  -1 },
	{            1917,	    STRING,	341, 383 },
	{            1923,	    STRING,	342,  -1 },
	{            1929,	    STRING,	343,  -1 },
	{            1935,	    STRING,	344, 386 },
	{            1940,	    STRING,	345, 238 },
	{            1946,	    STRING,	346,  -1 },
	{            1951,	    STRING,	347, 344 },
	{            1956,	    STRING,	348,  31 },
	{            1961,	    STRING,	349,  -1 },
	{            1966,	    STRING,	350, 380 },
	{            1972,	    STRING,	351, 255 },
	{            1978,	    STRING,	352,  -1 },
	{            1983,	    STRING,	353,  -1 },
	{            1989,	    STRING,	354, 347 },
	{            1994,	    STRING,	355,  -1 },
	{            2000,	    STRING,	356,  -1 },
	{            2006,	    STRING,	357,  -1 },
	{            2012,	    STRING,	358,  87 },
	{            2017,	    STRING,	359,  -1 },
	{            2023,	    STRING,	360,  -1 },
	{            2029,	    STRING,	361,  -1 },
	{            2034,	    STRING,	362,  -1 },
	{            2039,	    STRING,	363,  -1 },
	{            2044,	    STRING,	364,  -1 },
	{            2049,	    STRING,	365, 212 },
	{            2054,	    STRING,	366, 109 },
	{            2059,	    STRING,	367, 213 },
	{            2064,	    STRING,	368, 230 },
	{            2070,	    STRING,	369,  -1 },
	{            2076,	    STRING,	370,  -1 },
	{            2082,	    STRING,	371,  -1 },
	{            2088,	    STRING,	372,  -1 },
	{            2093,	    STRING,	373,  -1 },
	{            2101,	    STRING,	374,  -1 },
	{            2107,	    STRING,	375,  -1 },
	{            2113,	    STRING,	376,  -1 },
	{            2122,	    STRING,	377, 116 },
	{            2129,	    STRING,	378,  -1 },
	{            2135,	    STRING,	379, 231 },
	{            2141,	    STRING,	380,  -1 },
	{            2147,	    STRING,	381, 338 },
	{            2152,	    STRING,	382,  -1 },
	{            2157,	    STRING,	383,  -1 },
	{            2163,	    STRING,	384, 197 },
	{            2169,	    STRING,	385, 430 },
	{            2175,	    STRING,	386,  -1 },
	{            2181,	    STRING,	387,  -1 },
	{            2187,	    STRING,	388,  -1 },
	{            2194,	    STRING,	389,  -1 },
	{            2200,	    STRING,	390,  -1 },
	{            2206,	    STRING,	391,  -1 },
	{            2212,	    STRING,	392, 437 },
	{            2217,	    STRING,	393,  -1 },
	{            2225,	    STRING,	394,  -1 },
	{            2230,	    STRING,	395,  -1 },
	{            2235,	    NUMBER,	 33,  -1 },
	{            2240,	   BOOLEAN,	 37,  -1 },
	{            2245,	   BOOLEAN,	 38,  -1 },
	{            2250,	   BOOLEAN,	 39,  -1 },
	{            2255,	    NUMBER,	 34,  -1 },
	{            2260,	    NUMBER,	 35,  -1 },
	{            2265,	    STRING,	396,  -1 },
	{            2270,	    STRING,	397,  13 },
	{            2275,	   BOOLEAN,	 40,  -1 },
	{            2280,	   BOOLEAN,	 41, 446 },
	{            2285,	    NUMBER,	 36,  -1 },
	{            2290,	    NUMBER,	 37,  -1 },
	{            2295,	    NUMBER,	 38,  -1 },
	{            2300,	    STRING,	398, 472 },
	{            2305,	    STRING,	399,  -1 },
	{            2310,	   BOOLEAN,	 42,  -1 },
	{            2315,	   BOOLEAN,	 43,  -1 },
	{            2320,	    STRING,	400,  -1 },
	{            2325,	    STRING,	401,  -1 },
	{            2330,	    STRING,	402,  -1 },
	{            2335,	    STRING,	403,  -1 },
	{            2340,	    STRING,	404,  -1 },
	{            2345,	    STRING,	405,  -1 },
	{            2350,	    STRING,	406,  -1 },
	{            2355,	    STRING,	407,  -1 },
	{            2360,	    STRING,	408,  26 },
	{            2365,	    STRING,	409,  60 },
	{            2370,	    STRING,	410, 121 },
	{            2375,	    STRING,	411, 407 },
	{            2380,	    STRING,	412, 402 },
	{            2385,	    STRING,	413,  -1 } 
};

static struct name_table_entry *_nc_info_table = 0;

static const short _nc_info_hash_table[995] =
{
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	465,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	261,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	457,
	 -1,
	 -1,
	265,
	216,
	120,
	 -1,
	 -1,
	 -1,
	180,
	 -1,
	 -1,
	 88,
	 -1,
	420,
	 -1,
	398,
	 -1,
	348,
	 -1,
	 -1,
	 19,
	 -1,
	 -1,
	 -1,
	359,
	 -1,
	174,
	 -1,
	245,
	 -1,
	 74,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	269,
	 -1,
	480,
	 -1,
	 -1,
	 -1,
	124,
	 -1,
	 -1,
	 -1,
	390,
	379,
	367,
	 -1,
	 -1,
	444,
	 -1,
	 -1,
	 -1,
	305,
	 -1,
	 -1,
	363,
	 -1,
	 -1,
	483,
	377,
	 -1,
	 -1,
	 -1,
	 -1,
	460,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	204,
	 38,
	 -1,
	 82,
	 -1,
	110,
	127,
	 -1,
	 -1,
	463,
	 -1,
	 -1,
	 -1,
	 -1,
	336,
	 -1,
	 17,
	128,
	434,
	 -1,
	188,
	129,
	 -1,
	351,
	 -1,
	 -1,
	 16,
	 -1,
	 -1,
	259,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	489,
	 -1,
	353,
	 -1,
	 71,
	247,
	 -1,
	 -1,
	 -1,
	 -1,
	 78,
	 -1,
	 -1,
	331,
	 -1,
	 -1,
	173,
	136,
	161,
	189,
	 -1,
	 -1,
	 -1,
	 -1,
	454,
	 -1,
	 -1,
	 -1,
	 -1,
	224,
	479,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	354,
	 -1,
	 -1,
	233,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	125,
	 11,
	 -1,
	 -1,
	378,
	166,
	 -1,
	191,
	 -1,
	 -1,
	 48,
	228,
	 -1,
	  2,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	374,
	 -1,
	408,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	375,
	 -1,
	 52,
	145,
	170,
	 -1,
	392,
	382,
	 -1,
	393,
	411,
	 -1,
	 -1,
	 -1,
	276,
	 -1,
	 -1,
	 35,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	396,
	388,
	 36,
	 -1,
	 -1,
	 64,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	350,
	 -1,
	 -1,
	215,
	 91,
	 -1,
	 -1,
	439,
	 -1,
	122,
	 -1,
	200,
	 -1,
	 67,
	 -1,
	410,
	 -1,
	 -1,
	 89,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 96,
	 21,
	 -1,
	103,
	  1,
	 -1,
	 -1,
	369,
	 -1,
	 -1,
	345,
	 -1,
	 -1,
	 -1,
	355,
	 40,
	 -1,
	 27,
	 -1,
	406,
	 -1,
	 -1,
	 -1,
	482,
	419,
	417,
	 -1,
	 -1,
	360,
	270,
	 -1,
	 -1,
	251,
	 -1,
	 -1,
	 -1,
	 -1,
	349,
	 -1,
	 -1,
	278,
	 -1,
	442,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	438,
	 -1,
	494,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	315,
	 -1,
	340,
	364,
	356,
	 -1,
	484,
	 -1,
	 -1,
	 -1,
	 -1,
	 32,
	 -1,
	 -1,
	 -1,
	260,
	 -1,
	 -1,
	 -1,
	 -1,
	207,
	487,
	 84,
	453,
	 -1,
	 -1,
	413,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	214,
	 -1,
	337,
	352,
	477,
	 -1,
	435,
	 56,
	 -1,
	 -1,
	 34,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	132,
	 -1,
	 85,
	492,
	428,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	199,
	 -1,
	342,
	 -1,
	 -1,
	 -1,
	138,
	163,
	190,
	147,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	266,
	 -1,
	 -1,
	433,
	 -1,
	 -1,
	474,
	 -1,
	 -1,
	 -1,
	 -1,
	385,
	100,
	 -1,
	 -1,
	 -1,
	431,
	 -1,
	391,
	381,
	 12,
	 58,
	 -1,
	142,
	167,
	 -1,
	 -1,
	409,
	 -1,
	 -1,
	 -1,
	 -1,
	 42,
	 45,
	 66,
	 -1,
	 -1,
	424,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	220,
	376,
	 -1,
	 -1,
	343,
	 -1,
	 -1,
	 -1,
	114,
	106,
	 -1,
	 -1,
	447,
	 -1,
	217,
	493,
	171,
	172,
	399,
	346,
	 -1,
	 -1,
	 -1,
	 -1,
	195,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	496,
	 -1,
	 -1,
	 -1,
	 -1,
	241,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	151,
	 -1,
	118,
	 -1,
	 62,
	187,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	234,
	 -1,
	443,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	357,
	 -1,
	 -1,
	 -1,
	246,
	 -1,
	 -1,
	 -1,
	448,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 39,
	 -1,
	 10,
	397,
	389,
	 -1,
	 -1,
	154,
	 -1,
	 -1,
	 -1,
	130,
	 -1,
	 22,
	222,
	373,
	162,
	 -1,
	361,
	203,
	 -1,
	 -1,
	242,
	 -1,
	 -1,
	 -1,
	 -1,
	459,
	 -1,
	 -1,
	271,
	 -1,
	 97,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	427,
	 -1,
	175,
	107,
	 -1,
	 -1,
	 -1,
	178,
	423,
	372,
	 69,
	 -1,
	365,
	 -1,
	  4,
	486,
	184,
	 -1,
	 -1,
	 -1,
	 -1,
	461,
	 -1,
	 -1,
	282,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	475,
	 -1,
	 -1,
	 -1,
	395,
	387,
	 -1,
	 -1,
	 79,
	 63,
	 -1,
	 -1,
	452,
	451,
	 -1,
	 50,
	 -1,
	436,
	 -1,
	 -1,
	285,
	 -1,
	 -1,
	 83,
	455,
	 -1,
	 -1,
	 -1,
	279,
	370,
	 -1,
	 -1,
	 -1,
	 18,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	421,
	 -1,
	495,
	 -1,
	 -1,
	 -1,
	 -1,
	227,
	333,
	 -1,
	 -1,
	 25,
	139,
	164,
	 -1,
	 -1,
	371,
	 -1,
	 -1,
	429,
	 -1,
	 -1,
	 -1,
	273,
	 -1,
	466,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	181,
	 -1,
	 -1,
	 75,
	 -1,
	 92,
	339,
	 -1,
	384,
	 -1,
	123,
	 -1,
	143,
	168,
	 -1,
	183,
	186,
	 -1,
	108,
	 95,
	368,
	 -1,
	 -1,
	277,
	198,
	 -1,
	206,
	432,
	 -1,
	476,
	 -1,
	458,
	 -1,
	 -1,
	182,
	 -1,
	441,
	 -1,
	 -1,
	 -1,
	115,
	113,
	404,
	 -1,
	473,
	 -1,
	 -1,
	 -1,
	490,
	104,
	 -1,
	 -1,
	450,
	449,
	 -1,
	 -1,
	 -1,
	274,
	 -1,
	481,
	111,
	 99,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	263,
	 93,
	 -1,
	117,
	 -1,
	 29,
	 -1,
	 -1,
	 -1,
	 -1,
	119,
	 -1,
	 -1,
	426,
	491,
	 -1,
	 -1,
	205,
	 -1,
	237,
	 44,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	418,
	416,
	 -1,
	 -1,
	358,
	 -1,
	 -1,
	 -1,
	 65,
	 -1,
	440,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	  5,
	 -1,
	 -1,
	 -1,
	488,
	 -1,
	 -1,
	 -1,
	 28,
	412,
	 -1,
	405,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	295,
	 -1,
	471,
	362,
	 -1,
	 -1,
	485,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	202,
	 -1,
	 -1,
	284,
	 -1,
	469,
	 -1,
	 -1,
	  9,
	 24,
	 -1,
	 -1,
	179,
	 -1,
	 -1,
	 15,
	 -1,
	 -1,
	148,
	 -1,
	 -1,
	 -1,
	341,
	 -1,
	 -1,
	366,
	209,
	223,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	  0,
	 -1,
	208,
	467,
	 -1,
	422,
	 -1,
	464,
	157,
	 -1,
	403,
	 -1,
	415,
	 -1,
	 -1,
	 -1,
	 -1,
	445,
	 -1,
	 -1,
	330,
	 -1,
	 -1,
	 -1,
	462,
	160,
	 -1,
	 -1,
	 -1,
	 -1,
	 86,
	 -1,
	 -1,
	 41,
	 -1,
	280,
	 -1,
	478,
	 -1,
	 -1,
	 57,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	394,
	414,
	 -1,
	 -1,
	 -1,
	140,
	165,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	275,
	102,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	232,
	 -1,
	 14,
	 -1,
	 -1,
	225,
	 -1,
	 -1,
	267,
	 -1,
	 77,
	 -1,
	144,
	169,
	 -1,
	149,
	 -1,
	400,
	 -1,
	 -1,
	 -1,
	  3,
	 -1,
	 -1,
	 -1,
	468,
	425,
	 -1,
	 -1,
	470,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	456,
	 -1,
	158,
	159,
	 -1,
	 -1,
	146,
	 49,
	 -1,
	 -1,
	153,
	 -1,
	401,
	 90,
	0	/* base-of-table */
};

#if (BOOLCOUNT!=44)||(NUMCOUNT!=39)||(STRCOUNT!=414)
#error	--> term.h and comp_captab.c disagree about the <--
#error	--> numbers of booleans, numbers and/or strings <--
#endif

static const char cap_names_text[] = \
"bw\0" "am\0" "xb\0" "xs\0" "xn\0" "eo\0" "gn\0" "hc\0" "km\0" "hs\0" \
"in\0" "da\0" "db\0" "mi\0" "ms\0" "os\0" "es\0" "xt\0" "hz\0" "ul\0" \
"xo\0" "nx\0" "5i\0" "HC\0" "NR\0" "NP\0" "ND\0" "cc\0" "ut\0" "hl\0" \
"YA\0" "YB\0" "YC\0" "YD\0" "YE\0" "YF\0" "YG\0" "co\0" "it\0" "li\0" \
"lm\0" "sg\0" "pb\0" "vt\0" "ws\0" "Nl\0" "lh\0" "lw\0" "ma\0" "MW\0" \
"Co\0" "pa\0" "NC\0" "Ya\0" "Yb\0" "Yc\0" "Yd\0" "Ye\0" "Yf\0" "Yg\0" \
"Yh\0" "Yi\0" "Yj\0" "Yk\0" "Yl\0" "Ym\0" "Yn\0" "BT\0" "Yo\0" "Yp\0" \
"bt\0" "bl\0" "cr\0" "cs\0" "ct\0" "cl\0" "ce\0" "cd\0" "ch\0" "CC\0" \
"cm\0" "do\0" "ho\0" "vi\0" "le\0" "CM\0" "ve\0" "nd\0" "ll\0" "up\0" \
"vs\0" "dc\0" "dl\0" "ds\0" "hd\0" "as\0" "mb\0" "md\0" "ti\0" "dm\0" \
"mh\0" "im\0" "mk\0" "mp\0" "mr\0" "so\0" "us\0" "ec\0" "ae\0" "me\0" \
"te\0" "ed\0" "ei\0" "se\0" "ue\0" "vb\0" "ff\0" "fs\0" "i1\0" "is\0" \
"i3\0" "if\0" "ic\0" "al\0" "ip\0" "kb\0" "ka\0" "kC\0" "kt\0" "kD\0" \
"kL\0" "kd\0" "kM\0" "kE\0" "kS\0" "k0\0" "k1\0" "k;\0" "k2\0" "k3\0" \
"k4\0" "k5\0" "k6\0" "k7\0" "k8\0" "k9\0" "kh\0" "kI\0" "kA\0" "kl\0" \
"kH\0" "kN\0" "kP\0" "kr\0" "kF\0" "kR\0" "kT\0" "ku\0" "ke\0" "ks\0" \
"l0\0" "l1\0" "la\0" "l2\0" "l3\0" "l4\0" "l5\0" "l6\0" "l7\0" "l8\0" \
"l9\0" "mo\0" "mm\0" "nw\0" "pc\0" "DC\0" "DL\0" "DO\0" "IC\0" "SF\0" \
"AL\0" "LE\0" "RI\0" "SR\0" "UP\0" "pk\0" "pl\0" "px\0" "ps\0" "pf\0" \
"po\0" "rp\0" "r1\0" "r2\0" "r3\0" "rf\0" "rc\0" "cv\0" "sc\0" "sf\0" \
"sr\0" "sa\0" "st\0" "wi\0" "ta\0" "ts\0" "uc\0" "hu\0" "iP\0" "K1\0" \
"K3\0" "K2\0" "K4\0" "K5\0" "pO\0" "rP\0" "ac\0" "pn\0" "kB\0" "SX\0" \
"RX\0" "SA\0" "RA\0" "XN\0" "XF\0" "eA\0" "LO\0" "LF\0" "@1\0" "@2\0" \
"@3\0" "@4\0" "@5\0" "@6\0" "@7\0" "@8\0" "@9\0" "@0\0" "%1\0" "%2\0" \
"%3\0" "%4\0" "%5\0" "%6\0" "%7\0" "%8\0" "%9\0" "%0\0" "&1\0" "&2\0" \
"&3\0" "&4\0" "&5\0" "&6\0" "&7\0" "&8\0" "&9\0" "&0\0" "*1\0" "*2\0" \
"*3\0" "*4\0" "*5\0" "*6\0" "*7\0" "*8\0" "*9\0" "*0\0" "#1\0" "#2\0" \
"#3\0" "#4\0" "%a\0" "%b\0" "%c\0" "%d\0" "%e\0" "%f\0" "%g\0" "%h\0" \
"%i\0" "%j\0" "!1\0" "!2\0" "!3\0" "RF\0" "F1\0" "F2\0" "F3\0" "F4\0" \
"F5\0" "F6\0" "F7\0" "F8\0" "F9\0" "FA\0" "FB\0" "FC\0" "FD\0" "FE\0" \
"FF\0" "FG\0" "FH\0" "FI\0" "FJ\0" "FK\0" "FL\0" "FM\0" "FN\0" "FO\0" \
"FP\0" "FQ\0" "FR\0" "FS\0" "FT\0" "FU\0" "FV\0" "FW\0" "FX\0" "FY\0" \
"FZ\0" "Fa\0" "Fb\0" "Fc\0" "Fd\0" "Fe\0" "Ff\0" "Fg\0" "Fh\0" "Fi\0" \
"Fj\0" "Fk\0" "Fl\0" "Fm\0" "Fn\0" "Fo\0" "Fp\0" "Fq\0" "Fr\0" "cb\0" \
"MC\0" "ML\0" "MR\0" "Lf\0" "SC\0" "DK\0" "RC\0" "CW\0" "WG\0" "HU\0" \
"DI\0" "QD\0" "TO\0" "PU\0" "fh\0" "PA\0" "WA\0" "u0\0" "u1\0" "u2\0" \
"u3\0" "u4\0" "u5\0" "u6\0" "u7\0" "u8\0" "u9\0" "op\0" "oc\0" "Ic\0" \
"Ip\0" "sp\0" "Sf\0" "Sb\0" "ZA\0" "ZB\0" "ZC\0" "ZD\0" "ZE\0" "ZF\0" \
"ZG\0" "ZH\0" "ZI\0" "ZJ\0" "ZK\0" "ZL\0" "ZM\0" "ZN\0" "ZO\0" "ZP\0" \
"ZQ\0" "ZR\0" "ZS\0" "ZT\0" "ZU\0" "ZV\0" "ZW\0" "ZX\0" "ZY\0" "ZZ\0" \
"Za\0" "Zb\0" "Zc\0" "Zd\0" "Ze\0" "Zf\0" "Zg\0" "Zh\0" "Zi\0" "Zj\0" \
"Zk\0" "Zl\0" "Zm\0" "Zn\0" "Zo\0" "Zp\0" "Zq\0" "Zr\0" "Zs\0" "Zt\0" \
"Zu\0" "Zv\0" "Zw\0" "Zx\0" "Zy\0" "Km\0" "Mi\0" "RQ\0" "Gm\0" "AF\0" \
"AB\0" "xl\0" "dv\0" "ci\0" "s0\0" "s1\0" "s2\0" "s3\0" "ML\0" "MT\0" \
"Xy\0" "Zz\0" "Yv\0" "Yw\0" "Yx\0" "Yy\0" "Yz\0" "YZ\0" "S1\0" "S2\0" \
"S3\0" "S4\0" "S5\0" "S6\0" "S7\0" "S8\0" "Xh\0" "Xl\0" "Xo\0" "Xr\0" \
"Xt\0" "Xv\0" "sA\0" "sL\0" "i2\0" "rs\0" "ug\0" "bs\0" "ns\0" "nc\0" \
"dC\0" "dN\0" "nl\0" "bc\0" "MT\0" "NL\0" "dB\0" "dT\0" "kn\0" "ko\0" \
"ma\0" "pt\0" "xr\0" "G2\0" "G3\0" "G1\0" "G4\0" "GR\0" "GL\0" "GU\0" \
"GD\0" "GH\0" "GV\0" "GC\0" "ml\0" "mu\0" "bx\0" ;

static name_table_data const cap_names_data[] =
{
	{               0,	   BOOLEAN,	  0,  -1 },
	{               3,	   BOOLEAN,	  1,  -1 },
	{               6,	   BOOLEAN,	  2,  -1 },
	{               9,	   BOOLEAN,	  3,  -1 },
	{              12,	   BOOLEAN,	  4,  -1 },
	{              15,	   BOOLEAN,	  5,  -1 },
	{              18,	   BOOLEAN,	  6,  -1 },
	{              21,	   BOOLEAN,	  7,  -1 },
	{              24,	   BOOLEAN,	  8,  -1 },
	{              27,	   BOOLEAN,	  9,  -1 },
	{              30,	   BOOLEAN,	 10,  -1 },
	{              33,	   BOOLEAN,	 11,  -1 },
	{              36,	   BOOLEAN,	 12,  -1 },
	{              39,	   BOOLEAN,	 13,  -1 },
	{              42,	   BOOLEAN,	 14,  -1 },
	{              45,	   BOOLEAN,	 15,  -1 },
	{              48,	   BOOLEAN,	 16,  -1 },
	{              51,	   BOOLEAN,	 17,  -1 },
	{              54,	   BOOLEAN,	 18,  -1 },
	{              57,	   BOOLEAN,	 19,  -1 },
	{              60,	   BOOLEAN,	 20,  -1 },
	{              63,	   BOOLEAN,	 21,  -1 },
	{              66,	   BOOLEAN,	 22,  -1 },
	{              69,	   BOOLEAN,	 23,  -1 },
	{              72,	   BOOLEAN,	 24,   1 },
	{              75,	   BOOLEAN,	 25,  -1 },
	{              78,	   BOOLEAN,	 26,  -1 },
	{              81,	   BOOLEAN,	 27,  -1 },
	{              84,	   BOOLEAN,	 28,  -1 },
	{              87,	   BOOLEAN,	 29,  -1 },
	{              90,	   BOOLEAN,	 30,  -1 },
	{              93,	   BOOLEAN,	 31,  -1 },
	{              96,	   BOOLEAN,	 32,  -1 },
	{              99,	   BOOLEAN,	 33,  -1 },
	{             102,	   BOOLEAN,	 34,  -1 },
	{             105,	   BOOLEAN,	 35,  -1 },
	{             108,	   BOOLEAN,	 36,  -1 },
	{             111,	    NUMBER,	  0,  -1 },
	{             114,	    NUMBER,	  1,  -1 },
	{             117,	    NUMBER,	  2,  -1 },
	{             120,	    NUMBER,	  3,  -1 },
	{             123,	    NUMBER,	  4,  -1 },
	{             126,	    NUMBER,	  5,  -1 },
	{             129,	    NUMBER,	  6,  -1 },
	{             132,	    NUMBER,	  7,  -1 },
	{             135,	    NUMBER,	  8,  -1 },
	{             138,	    NUMBER,	  9,  -1 },
	{             141,	    NUMBER,	 10,  -1 },
	{             144,	    NUMBER,	 11,  -1 },
	{             147,	    NUMBER,	 12,  -1 },
	{             150,	    NUMBER,	 13,  -1 },
	{             153,	    NUMBER,	 14,  -1 },
	{             156,	    NUMBER,	 15,  -1 },
	{             159,	    NUMBER,	 16,  -1 },
	{             162,	    NUMBER,	 17,  -1 },
	{             165,	    NUMBER,	 18,  -1 },
	{             168,	    NUMBER,	 19,  -1 },
	{             171,	    NUMBER,	 20,  -1 },
	{             174,	    NUMBER,	 21,  -1 },
	{             177,	    NUMBER,	 22,  -1 },
	{             180,	    NUMBER,	 23,  -1 },
	{             183,	    NUMBER,	 24,  -1 },
	{             186,	    NUMBER,	 25,  -1 },
	{             189,	    NUMBER,	 26,  -1 },
	{             192,	    NUMBER,	 27,  -1 },
	{             195,	    NUMBER,	 28,  -1 },
	{             198,	    NUMBER,	 29,  -1 },
	{             201,	    NUMBER,	 30,  -1 },
	{             204,	    NUMBER,	 31,  -1 },
	{             207,	    NUMBER,	 32,  -1 },
	{             210,	    STRING,	  0,  -1 },
	{             213,	    STRING,	  1,  -1 },
	{             216,	    STRING,	  2,  -1 },
	{             219,	    STRING,	  3,  -1 },
	{             222,	    STRING,	  4,  -1 },
	{             225,	    STRING,	  5,  -1 },
	{             228,	    STRING,	  6,  -1 },
	{             231,	    STRING,	  7,  -1 },
	{             234,	    STRING,	  8,  -1 },
	{             237,	    STRING,	  9,  -1 },
	{             240,	    STRING,	 10,  -1 },
	{             243,	    STRING,	 11,  -1 },
	{             246,	    STRING,	 12,  -1 },
	{             249,	    STRING,	 13,  -1 },
	{             252,	    STRING,	 14,  -1 },
	{             255,	    STRING,	 15,  -1 },
	{             258,	    STRING,	 16,  -1 },
	{             261,	    STRING,	 17,  -1 },
	{             264,	    STRING,	 18,  -1 },
	{             267,	    STRING,	 19,  -1 },
	{             270,	    STRING,	 20,  -1 },
	{             273,	    STRING,	 21,  -1 },
	{             276,	    STRING,	 22,  -1 },
	{             279,	    STRING,	 23,  -1 },
	{             282,	    STRING,	 24,  -1 },
	{             285,	    STRING,	 25,  -1 },
	{             288,	    STRING,	 26,  -1 },
	{             291,	    STRING,	 27,  -1 },
	{             294,	    STRING,	 28,  -1 },
	{             297,	    STRING,	 29,  -1 },
	{             300,	    STRING,	 30,  -1 },
	{             303,	    STRING,	 31,  -1 },
	{             306,	    STRING,	 32,  -1 },
	{             309,	    STRING,	 33,  -1 },
	{             312,	    STRING,	 34,  -1 },
	{             315,	    STRING,	 35,  -1 },
	{             318,	    STRING,	 36,  -1 },
	{             321,	    STRING,	 37,  -1 },
	{             324,	    STRING,	 38,  -1 },
	{             327,	    STRING,	 39,  -1 },
	{             330,	    STRING,	 40,  -1 },
	{             333,	    STRING,	 41,  -1 },
	{             336,	    STRING,	 42,  -1 },
	{             339,	    STRING,	 43,  -1 },
	{             342,	    STRING,	 44,  -1 },
	{             345,	    STRING,	 45,  -1 },
	{             348,	    STRING,	 46,  -1 },
	{             351,	    STRING,	 47,  -1 },
	{             354,	    STRING,	 48, 102 },
	{             357,	    STRING,	 49,  -1 },
	{             360,	    STRING,	 50,  -1 },
	{             363,	    STRING,	 51,  -1 },
	{             366,	    STRING,	 52,  -1 },
	{             369,	    STRING,	 53,  -1 },
	{             372,	    STRING,	 54,  -1 },
	{             375,	    STRING,	 55,  -1 },
	{             378,	    STRING,	 56,  -1 },
	{             381,	    STRING,	 57,  -1 },
	{             384,	    STRING,	 58,  -1 },
	{             387,	    STRING,	 59,  -1 },
	{             390,	    STRING,	 60,  -1 },
	{             393,	    STRING,	 61,  -1 },
	{             396,	    STRING,	 62,  -1 },
	{             399,	    STRING,	 63,  -1 },
	{             402,	    STRING,	 64,  -1 },
	{             405,	    STRING,	 65,  -1 },
	{             408,	    STRING,	 66,  -1 },
	{             411,	    STRING,	 67,  -1 },
	{             414,	    STRING,	 68,  -1 },
	{             417,	    STRING,	 69,  -1 },
	{             420,	    STRING,	 70,  -1 },
	{             423,	    STRING,	 71,  -1 },
	{             426,	    STRING,	 72,  -1 },
	{             429,	    STRING,	 73,  -1 },
	{             432,	    STRING,	 74,  -1 },
	{             435,	    STRING,	 75,  15 },
	{             438,	    STRING,	 76,  -1 },
	{             441,	    STRING,	 77,  -1 },
	{             444,	    STRING,	 78,  -1 },
	{             447,	    STRING,	 79,  -1 },
	{             450,	    STRING,	 80,  -1 },
	{             453,	    STRING,	 81,  -1 },
	{             456,	    STRING,	 82,  -1 },
	{             459,	    STRING,	 83,  -1 },
	{             462,	    STRING,	 84,  -1 },
	{             465,	    STRING,	 85,  -1 },
	{             468,	    STRING,	 86,  -1 },
	{             471,	    STRING,	 87,  -1 },
	{             474,	    STRING,	 88,  -1 },
	{             477,	    STRING,	 89,  -1 },
	{             480,	    STRING,	 90,  -1 },
	{             483,	    STRING,	 91,  -1 },
	{             486,	    STRING,	 92,  35 },
	{             489,	    STRING,	 93,  -1 },
	{             492,	    STRING,	 94,  -1 },
	{             495,	    STRING,	 95,  -1 },
	{             498,	    STRING,	 96,  -1 },
	{             501,	    STRING,	 97,  -1 },
	{             504,	    STRING,	 98,  -1 },
	{             507,	    STRING,	 99,  -1 },
	{             510,	    STRING,	100,  -1 },
	{             513,	    STRING,	101,  -1 },
	{             516,	    STRING,	102, 120 },
	{             519,	    STRING,	103,  -1 },
	{             522,	    STRING,	104,  -1 },
	{             525,	    STRING,	105,  -1 },
	{             528,	    STRING,	106,  -1 },
	{             531,	    STRING,	107,  -1 },
	{             534,	    STRING,	108,  -1 },
	{             537,	    STRING,	109,  -1 },
	{             540,	    STRING,	110,  -1 },
	{             543,	    STRING,	111,  -1 },
	{             546,	    STRING,	112, 111 },
	{             549,	    STRING,	113,  -1 },
	{             552,	    STRING,	114,  -1 },
	{             555,	    STRING,	115, 161 },
	{             558,	    STRING,	116, 163 },
	{             561,	    STRING,	117,  -1 },
	{             564,	    STRING,	118, 170 },
	{             567,	    STRING,	119,  -1 },
	{             570,	    STRING,	120, 166 },
	{             573,	    STRING,	121,  -1 },
	{             576,	    STRING,	122,  -1 },
	{             579,	    STRING,	123,  -1 },
	{             582,	    STRING,	124,  -1 },
	{             585,	    STRING,	125,  -1 },
	{             588,	    STRING,	126,  -1 },
	{             591,	    STRING,	127,  -1 },
	{             594,	    STRING,	128,  -1 },
	{             597,	    STRING,	129,  -1 },
	{             600,	    STRING,	130,  -1 },
	{             603,	    STRING,	131,  -1 },
	{             606,	    STRING,	132,  -1 },
	{             609,	    STRING,	133,  -1 },
	{             612,	    STRING,	134,  -1 },
	{             615,	    STRING,	135,  -1 },
	{             618,	    STRING,	136,  -1 },
	{             621,	    STRING,	137,  -1 },
	{             624,	    STRING,	138,  -1 },
	{             627,	    STRING,	139,  -1 },
	{             630,	    STRING,	140,  -1 },
	{             633,	    STRING,	141,  -1 },
	{             636,	    STRING,	142,  -1 },
	{             639,	    STRING,	143,  -1 },
	{             642,	    STRING,	144,  -1 },
	{             645,	    STRING,	145,  37 },
	{             648,	    STRING,	146,  -1 },
	{             651,	    STRING,	147, 165 },
	{             654,	    STRING,	148,  -1 },
	{             657,	    STRING,	149, 117 },
	{             660,	    STRING,	150,  16 },
	{             663,	    STRING,	151,  -1 },
	{             666,	    STRING,	152,  -1 },
	{             669,	    STRING,	153,  -1 },
	{             672,	    STRING,	154, 126 },
	{             675,	    STRING,	155,  -1 },
	{             678,	    STRING,	156,  -1 },
	{             681,	    STRING,	157,  -1 },
	{             684,	    STRING,	158,  -1 },
	{             687,	    STRING,	159,  -1 },
	{             690,	    STRING,	160,  -1 },
	{             693,	    STRING,	161,  -1 },
	{             696,	    STRING,	162,  -1 },
	{             699,	    STRING,	163,  -1 },
	{             702,	    STRING,	164, 183 },
	{             705,	    STRING,	165,  -1 },
	{             708,	    STRING,	166,  -1 },
	{             711,	    STRING,	167, 116 },
	{             714,	    STRING,	168,  -1 },
	{             717,	    STRING,	169,  97 },
	{             720,	    STRING,	170, 109 },
	{             723,	    STRING,	171,  -1 },
	{             726,	    STRING,	172,  -1 },
	{             729,	    STRING,	173, 100 },
	{             732,	    STRING,	174,  13 },
	{             735,	    STRING,	175,  -1 },
	{             738,	    STRING,	176, 118 },
	{             741,	    STRING,	177,  96 },
	{             744,	    STRING,	178,  -1 },
	{             747,	    STRING,	179,  87 },
	{             750,	    STRING,	180,  -1 },
	{             753,	    STRING,	181,  -1 },
	{             756,	    STRING,	182,  -1 },
	{             759,	    STRING,	183,  -1 },
	{             762,	    STRING,	184,  -1 },
	{             765,	    STRING,	185,  -1 },
	{             768,	    STRING,	186,  -1 },
	{             771,	    STRING,	187,  -1 },
	{             774,	    STRING,	188, 196 },
	{             777,	    STRING,	189,  -1 },
	{             780,	    STRING,	190,  -1 },
	{             783,	    STRING,	191, 195 },
	{             786,	    STRING,	192,  -1 },
	{             789,	    STRING,	193,  -1 },
	{             792,	    STRING,	194,  -1 },
	{             795,	    STRING,	195,  -1 },
	{             798,	    STRING,	196,  -1 },
	{             801,	    STRING,	197,  -1 },
	{             804,	    STRING,	198,  -1 },
	{             807,	    STRING,	199, 131 },
	{             810,	    STRING,	200, 158 },
	{             813,	    STRING,	201,  -1 },
	{             816,	    STRING,	202,  -1 },
	{             819,	    STRING,	203,  -1 },
	{             822,	    STRING,	204,  -1 },
	{             825,	    STRING,	205,  -1 },
	{             828,	    STRING,	206,  -1 },
	{             831,	    STRING,	207,  -1 },
	{             834,	    STRING,	208,  -1 },
	{             837,	    STRING,	209,  -1 },
	{             840,	    STRING,	210,  -1 },
	{             843,	    STRING,	211,  -1 },
	{             846,	    STRING,	212, 122 },
	{             849,	    STRING,	213,  -1 },
	{             852,	    STRING,	214,  -1 },
	{             855,	    STRING,	215,  -1 },
	{             858,	    STRING,	216,  -1 },
	{             861,	    STRING,	217,  46 },
	{             864,	    STRING,	218,  39 },
	{             867,	    STRING,	219,  -1 },
	{             870,	    STRING,	220,  -1 },
	{             873,	    STRING,	221,  88 },
	{             876,	    STRING,	222,  40 },
	{             879,	    STRING,	223,  -1 },
	{             882,	    STRING,	224,  -1 },
	{             885,	    STRING,	225,  47 },
	{             888,	    STRING,	226,  -1 },
	{             891,	    STRING,	227,  -1 },
	{             894,	    STRING,	228,  -1 },
	{             897,	    STRING,	229,  -1 },
	{             900,	    STRING,	230,  53 },
	{             903,	    STRING,	231,  54 },
	{             906,	    STRING,	232,  55 },
	{             909,	    STRING,	233,  56 },
	{             912,	    STRING,	234,  57 },
	{             915,	    STRING,	235,  58 },
	{             918,	    STRING,	236,  59 },
	{             921,	    STRING,	237,  60 },
	{             924,	    STRING,	238,  61 },
	{             927,	    STRING,	239,  62 },
	{             930,	    STRING,	240,  63 },
	{             933,	    STRING,	241,  64 },
	{             936,	    STRING,	242,  65 },
	{             939,	    STRING,	243,  66 },
	{             942,	    STRING,	244,  68 },
	{             945,	    STRING,	245,  69 },
	{             948,	    STRING,	246,  -1 },
	{             951,	    STRING,	247,  -1 },
	{             954,	    STRING,	248,  -1 },
	{             957,	    STRING,	249,  -1 },
	{             960,	    STRING,	250,  -1 },
	{             963,	    STRING,	251,  -1 },
	{             966,	    STRING,	252,  -1 },
	{             969,	    STRING,	253,  -1 },
	{             972,	    STRING,	254,  -1 },
	{             975,	    STRING,	255,  -1 },
	{             978,	    STRING,	256,  -1 },
	{             981,	    STRING,	257,   7 },
	{             984,	    STRING,	258,  94 },
	{             987,	    STRING,	259,  -1 },
	{             990,	    STRING,	260,  -1 },
	{             993,	    STRING,	261,  -1 },
	{             996,	    STRING,	262,  -1 },
	{             999,	    STRING,	263,  -1 },
	{            1002,	    STRING,	264,  -1 },
	{            1005,	    STRING,	265, 184 },
	{            1008,	    STRING,	266,  29 },
	{            1011,	    STRING,	267,  -1 },
	{            1014,	    STRING,	268,  -1 },
	{            1017,	    STRING,	269,  -1 },
	{            1020,	    STRING,	270,  -1 },
	{            1023,	    STRING,	271,  -1 },
	{            1026,	    STRING,	272,  -1 },
	{            1029,	    STRING,	273, 257 },
	{            1032,	    STRING,	274,  -1 },
	{            1035,	    STRING,	275,  -1 },
	{            1038,	    STRING,	276,  -1 },
	{            1041,	    STRING,	277,   4 },
	{            1044,	    STRING,	278,  -1 },
	{            1047,	    STRING,	279,  -1 },
	{            1050,	    STRING,	280,  -1 },
	{            1053,	    STRING,	281,  -1 },
	{            1056,	    STRING,	282,  -1 },
	{            1059,	    STRING,	283,  -1 },
	{            1062,	    STRING,	284, 229 },
	{            1065,	    STRING,	285,  -1 },
	{            1068,	    STRING,	286,  -1 },
	{            1071,	    STRING,	287,  -1 },
	{            1074,	    STRING,	288,  -1 },
	{            1077,	    STRING,	289,  -1 },
	{            1080,	    STRING,	290,  -1 },
	{            1083,	    STRING,	291,  -1 },
	{            1086,	    STRING,	292,  -1 },
	{            1089,	    STRING,	293,  -1 },
	{            1092,	    STRING,	294,  -1 },
	{            1095,	    STRING,	295,  -1 },
	{            1098,	    STRING,	296,  -1 },
	{            1101,	    STRING,	297, 142 },
	{            1104,	    STRING,	298,  -1 },
	{            1107,	    STRING,	299,  -1 },
	{            1110,	    STRING,	300, 149 },
	{            1113,	    STRING,	301,  -1 },
	{            1116,	    STRING,	302,  -1 },
	{            1119,	    STRING,	303,  -1 },
	{            1122,	    STRING,	304,  -1 },
	{            1125,	    STRING,	305,  -1 },
	{            1128,	    STRING,	306,  -1 },
	{            1131,	    STRING,	307,  -1 },
	{            1134,	    STRING,	308,  -1 },
	{            1137,	    STRING,	309,  48 },
	{            1140,	    STRING,	310, 247 },
	{            1143,	    STRING,	311, 238 },
	{            1146,	    STRING,	312, 239 },
	{            1149,	    STRING,	313, 240 },
	{            1152,	    STRING,	314, 241 },
	{            1155,	    STRING,	315, 242 },
	{            1158,	    STRING,	316, 243 },
	{            1161,	    STRING,	317, 244 },
	{            1164,	    STRING,	318, 245 },
	{            1167,	    STRING,	319, 246 },
	{            1170,	    STRING,	320,  -1 },
	{            1173,	    STRING,	321, 172 },
	{            1176,	    STRING,	322,  -1 },
	{            1179,	    STRING,	323, 171 },
	{            1182,	    STRING,	324, 103 },
	{            1185,	    STRING,	325,  -1 },
	{            1188,	    STRING,	326, 104 },
	{            1191,	    STRING,	327,  14 },
	{            1194,	    STRING,	328,  -1 },
	{            1197,	    STRING,	329,  -1 },
	{            1200,	    STRING,	330,  -1 },
	{            1203,	    STRING,	331,  -1 },
	{            1206,	    STRING,	332,  -1 },
	{            1209,	    STRING,	333,  -1 },
	{            1212,	    STRING,	334,  -1 },
	{            1215,	    STRING,	335,  -1 },
	{            1218,	    STRING,	336,  -1 },
	{            1221,	    STRING,	337,  -1 },
	{            1224,	    STRING,	338,  -1 },
	{            1227,	    STRING,	339,  -1 },
	{            1230,	    STRING,	340,  -1 },
	{            1233,	    STRING,	341,  -1 },
	{            1236,	    STRING,	342,  -1 },
	{            1239,	    STRING,	343,  -1 },
	{            1242,	    STRING,	344, 208 },
	{            1245,	    STRING,	345,  -1 },
	{            1248,	    STRING,	346,  -1 },
	{            1251,	    STRING,	347,  -1 },
	{            1254,	    STRING,	348,  -1 },
	{            1257,	    STRING,	349,  -1 },
	{            1260,	    STRING,	350,  -1 },
	{            1263,	    STRING,	351,  -1 },
	{            1266,	    STRING,	352,  -1 },
	{            1269,	    STRING,	353, 272 },
	{            1272,	    STRING,	354, 273 },
	{            1275,	    STRING,	355, 387 },
	{            1278,	    STRING,	356,  -1 },
	{            1281,	    STRING,	357,  -1 },
	{            1284,	    STRING,	358,  -1 },
	{            1287,	    STRING,	359,  -1 },
	{            1290,	    STRING,	360,  -1 },
	{            1293,	    STRING,	361,  -1 },
	{            1296,	    STRING,	362,  -1 },
	{            1299,	    STRING,	363,  -1 },
	{            1302,	    STRING,	364,  -1 },
	{            1305,	    STRING,	365,  67 },
	{            1308,	    STRING,	366,  -1 },
	{            1311,	    STRING,	367,  -1 },
	{            1314,	    STRING,	368, 341 },
	{            1317,	    STRING,	369,  -1 },
	{            1320,	    STRING,	370,  -1 },
	{            1323,	    STRING,	371, 274 },
	{            1326,	    STRING,	372,  -1 },
	{            1329,	    STRING,	373,  -1 },
	{            1332,	    STRING,	374,  -1 },
	{            1335,	    STRING,	375,  -1 },
	{            1338,	    STRING,	376,  -1 },
	{            1341,	    STRING,	377,  -1 },
	{            1344,	    STRING,	378,  -1 },
	{            1347,	    STRING,	379,  -1 },
	{            1350,	    STRING,	380,  -1 },
	{            1353,	    STRING,	381, 357 },
	{            1356,	    STRING,	382, 358 },
	{            1359,	    STRING,	383, 359 },
	{            1362,	    STRING,	384, 360 },
	{            1365,	    STRING,	385, 361 },
	{            1368,	    STRING,	386,  -1 },
	{            1371,	    STRING,	387,  -1 },
	{            1374,	    STRING,	388,  -1 },
	{            1377,	    STRING,	389,  -1 },
	{            1380,	    STRING,	390,  -1 },
	{            1383,	    STRING,	391,  -1 },
	{            1386,	    STRING,	392,  -1 },
	{            1389,	    STRING,	393,  -1 },
	{            1392,	    STRING,	394, 390 },
	{            1395,	    STRING,	395,  -1 },
	{            1398,	    NUMBER,	 33,  -1 },
	{            1401,	   BOOLEAN,	 37,  -1 },
	{            1404,	   BOOLEAN,	 38,  -1 },
	{            1407,	   BOOLEAN,	 39, 248 },
	{            1410,	    NUMBER,	 34,  -1 },
	{            1413,	    NUMBER,	 35, 203 },
	{            1416,	    STRING,	396,  -1 },
	{            1419,	    STRING,	397,  -1 },
	{            1422,	   BOOLEAN,	 40, 439 },
	{            1425,	   BOOLEAN,	 41,  -1 },
	{            1428,	    NUMBER,	 36,  -1 },
	{            1431,	    NUMBER,	 37,  -1 },
	{            1434,	    NUMBER,	 38,  -1 },
	{            1437,	    STRING,	398,  -1 },
	{            1440,	    STRING,	399, 379 },
	{            1443,	   BOOLEAN,	 42,  -1 },
	{            1446,	   BOOLEAN,	 43,  -1 },
	{            1449,	    STRING,	400, 386 },
	{            1452,	    STRING,	401, 425 },
	{            1455,	    STRING,	402, 385 },
	{            1458,	    STRING,	403, 388 },
	{            1461,	    STRING,	404, 412 },
	{            1464,	    STRING,	405, 406 },
	{            1467,	    STRING,	406, 415 },
	{            1470,	    STRING,	407,  -1 },
	{            1473,	    STRING,	408, 402 },
	{            1476,	    STRING,	409, 416 },
	{            1479,	    STRING,	410,  -1 },
	{            1482,	    STRING,	411, 464 },
	{            1485,	    STRING,	412, 399 },
	{            1488,	    STRING,	413,  -1 } 
};

static struct name_table_entry *_nc_cap_table = 0;

static const short _nc_cap_hash_table[995] =
{
	253,
	 -1,
	 45,
	211,
	263,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	449,
	457,
	311,
	411,
	 -1,
	132,
	 -1,
	 -1,
	 -1,
	 -1,
	123,
	 71,
	 75,
	 92,
	427,
	233,
	 -1,
	336,
	 -1,
	 -1,
	370,
	291,
	494,
	472,
	138,
	186,
	 -1,
	 -1,
	 -1,
	 -1,
	 19,
	193,
	436,
	431,
	453,
	 -1,
	315,
	489,
	349,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	353,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	124,
	 -1,
	 -1,
	 -1,
	394,
	 -1,
	367,
	167,
	 -1,
	191,
	371,
	 -1,
	 89,
	 -1,
	 -1,
	 -1,
	363,
	460,
	319,
	419,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 70,
	 74,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 38,
	 -1,
	128,
	 -1,
	398,
	 -1,
	 -1,
	481,
	 -1,
	 -1,
	202,
	 -1,
	 28,
	 43,
	 -1,
	 17,
	 -1,
	 -1,
	444,
	423,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	496,
	 -1,
	 -1,
	 -1,
	 -1,
	430,
	 -1,
	 -1,
	 -1,
	 -1,
	296,
	 -1,
	 21,
	 -1,
	187,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	321,
	276,
	 -1,
	 -1,
	 31,
	375,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	429,
	476,
	 -1,
	 -1,
	 -1,
	300,
	400,
	 -1,
	218,
	 -1,
	 -1,
	227,
	 -1,
	 -1,
	 -1,
	 -1,
	 11,
	285,
	179,
	 -1,
	325,
	280,
	 -1,
	224,
	162,
	480,
	 -1,
	 -1,
	 51,
	 -1,
	 -1,
	201,
	204,
	 -1,
	 -1,
	 -1,
	 -1,
	 22,
	 -1,
	304,
	404,
	 -1,
	154,
	 -1,
	 -1,
	 -1,
	 -1,
	108,
	 -1,
	 76,
	 -1,
	 -1,
	 -1,
	 -1,
	329,
	284,
	 -1,
	270,
	 84,
	383,
	250,
	426,
	 -1,
	 -1,
	260,
	113,
	110,
	114,
	 86,
	 -1,
	 -1,
	 -1,
	 -1,
	308,
	408,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	433,
	 -1,
	112,
	230,
	 -1,
	333,
	428,
	 -1,
	223,
	288,
	484,
	254,
	 -1,
	 -1,
	210,
	264,
	 -1,
	 98,
	 -1,
	 83,
	471,
	 -1,
	450,
	 -1,
	312,
	487,
	 -1,
	151,
	 -1,
	 -1,
	 -1,
	342,
	 24,
	 -1,
	 80,
	 99,
	 -1,
	234,
	 -1,
	337,
	101,
	 -1,
	  8,
	292,
	391,
	 -1,
	139,
	164,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	194,
	437,
	 -1,
	454,
	 -1,
	316,
	492,
	 -1,
	155,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	395,
	 -1,
	143,
	168,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	364,
	 -1,
	320,
	420,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	207,
	 -1,
	 -1,
	157,
	447,
	495,
	 -1,
	137,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	440,
	445,
	424,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 79,
	175,
	 -1,
	297,
	493,
	 23,
	178,
	 -1,
	 -1,
	 -1,
	340,
	 52,
	 -1,
	 -1,
	 -1,
	346,
	344,
	 -1,
	322,
	277,
	 -1,
	 -1,
	 32,
	376,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	373,
	 -1,
	470,
	 -1,
	 -1,
	 -1,
	301,
	401,
	 -1,
	127,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	339,
	 12,
	 -1,
	 -1,
	 -1,
	326,
	281,
	348,
	125,
	 36,
	380,
	343,
	 -1,
	 42,
	 -1,
	267,
	 -1,
	 -1,
	372,
	115,
	 -1,
	  2,
	345,
	 -1,
	305,
	405,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	237,
	 -1,
	330,
	121,
	 -1,
	271,
	 -1,
	384,
	251,
	 -1,
	189,
	 -1,
	261,
	199,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	177,
	 -1,
	309,
	409,
	 -1,
	 -1,
	 -1,
	 -1,
	226,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	231,
	352,
	334,
	 -1,
	 -1,
	 -1,
	289,
	486,
	255,
	135,
	160,
	212,
	265,
	 -1,
	 -1,
	 -1,
	 -1,
	434,
	 -1,
	451,
	 -1,
	313,
	413,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	214,
	 -1,
	 -1,
	 -1,
	 -1,
	235,
	  6,
	338,
	 10,
	 -1,
	478,
	293,
	392,
	 -1,
	140,
	217,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	347,
	455,
	459,
	317,
	417,
	 -1,
	134,
	 -1,
	 -1,
	 -1,
	 49,
	 -1,
	 -1,
	 72,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	153,
	 -1,
	396,
	 -1,
	144,
	169,
	 -1,
	 -1,
	200,
	 -1,
	 -1,
	 -1,
	 -1,
	482,
	365,
	461,
	442,
	421,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	197,
	432,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	446,
	441,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 18,
	 -1,
	 -1,
	 -1,
	298,
	490,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 26,
	 -1,
	 -1,
	351,
	 -1,
	 -1,
	 -1,
	323,
	278,
	 -1,
	369,
	 33,
	377,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	302,
	491,
	 -1,
	129,
	 -1,
	 -1,
	 -1,
	 -1,
	216,
	473,
	 27,
	 91,
	107,
	 -1,
	 -1,
	327,
	282,
	 -1,
	268,
	 -1,
	381,
	469,
	368,
	174,
	 -1,
	258,
	198,
	 -1,
	206,
	180,
	 -1,
	 -1,
	176,
	 -1,
	306,
	488,
	 -1,
	150,
	 -1,
	 -1,
	 -1,
	438,
	475,
	 -1,
	 -1,
	 -1,
	 -1,
	228,
	 -1,
	331,
	 -1,
	 -1,
	 -1,
	286,
	485,
	252,
	 -1,
	 -1,
	209,
	262,
	 41,
	 -1,
	466,
	 -1,
	 -1,
	 -1,
	448,
	 -1,
	310,
	410,
	 -1,
	130,
	 -1,
	 -1,
	 -1,
	 -1,
	 25,
	 -1,
	 -1,
	463,
	 50,
	232,
	 -1,
	335,
	 -1,
	 -1,
	 -1,
	290,
	389,
	256,
	136,
	185,
	213,
	266,
	 -1,
	 -1,
	 -1,
	192,
	435,
	 -1,
	452,
	458,
	314,
	414,
	 -1,
	152,
	 -1,
	 -1,
	 -1,
	474,
	 -1,
	 -1,
	215,
	 81,
	  5,
	236,
	 -1,
	 82,
	 -1,
	 -1,
	479,
	294,
	393,
	 -1,
	141,
	190,
	 -1,
	 -1,
	105,
	 -1,
	 -1,
	 -1,
	477,
	 20,
	362,
	 -1,
	318,
	418,
	 -1,
	156,
	 -1,
	 -1,
	 -1,
	 -1,
	 95,
	467,
	 73,
	 93,
	220,
	219,
	 -1,
	  9,
	119,
	 -1,
	159,
	 -1,
	397,
	468,
	145,
	188,
	 -1,
	465,
	 -1,
	205,
	106,
	 90,
	 44,
	  3,
	366,
	 -1,
	443,
	422,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	  0,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	295,
	 -1,
	173,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	355,
	 -1,
	222,
	221,
	 -1,
	 -1,
	275,
	356,
	 -1,
	 30,
	374,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	225,
	 -1,
	 -1,
	299,
	 -1,
	 -1,
	148,
	 -1,
	 -1,
	181,
	 -1,
	 -1,
	 -1,
	 -1,
	462,
	 -1,
	 -1,
	 -1,
	324,
	279,
	 -1,
	 -1,
	 34,
	378,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	350,
	 -1,
	303,
	403,
	 -1,
	133,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 77,
	 -1,
	182,
	 -1,
	 -1,
	328,
	283,
	 -1,
	269,
	 -1,
	382,
	249,
	 -1,
	 -1,
	 -1,
	259,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 85,
	 -1,
	456,
	307,
	407,
	 -1,
	147,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 -1,
	 78,
	 -1,
	 -1,
	354,
	 -1,
	332,
	 -1,
	 -1,
	146,
	287,
	483,
	0	/* base-of-table */
};

#if (BOOLCOUNT!=44)||(NUMCOUNT!=39)||(STRCOUNT!=414)
#error	--> term.h and comp_captab.c disagree about the <--
#error	--> numbers of booleans, numbers and/or strings <--
#endif

/* generated by MKcaptab.awk capalias(1) */

static struct alias *_nc_capalias_table = 0;

static const char capalias_text[] = "\
sb\0sr\0BSD\0\
BO\0mr\0AT&T\0\
CI\0vi\0AT&T\0\
CV\0ve\0AT&T\0\
DS\0mh\0AT&T\0\
FE\0LF\0AT&T\0\
FL\0LO\0AT&T\0\
XS\0mk\0AT&T\0\
EE\0mh\0XENIX\0\
GE\0ae\0XENIX\0\
GS\0as\0XENIX\0\
CF\0vi\0XENIX\0\
CO\0ve\0XENIX\0\
EN\0@7\0XENIX\0\
HM\0kh\0XENIX\0\
LD\0kL\0XENIX\0\
PD\0kN\0XENIX\0\
PN\0po\0XENIX\0\
PS\0pf\0XENIX\0\
PU\0kP\0XENIX\0\
RT\0@8\0XENIX\0\
UP\0ku\0XENIX\0\
G6\0XENIX\0\
G7\0XENIX\0\
G5\0XENIX\0\
G8\0XENIX\0\
Gr\0XENIX\0\
Gr\0XENIX\0\
Gu\0XENIX\0\
Gd\0XENIX\0\
Gh\0XENIX\0\
Gv\0XENIX\0\
Gc\0XENIX\0\
GG\0XENIX\0\
kq\0%1\0IBM\0\
HS\0mh\0IRIS\0\
KA\0k;\0Tek\0\
KB\0F1\0Tek\0\
KC\0F2\0Tek\0\
KD\0F3\0Tek\0\
KE\0F4\0Tek\0\
KF\0F5\0Tek\0\
BC\0Sb\0Tek\0\
FC\0Sf\0Tek\0\
";

static const alias_table_data capalias_data[] = {
	{    0,     3,     6},	 /* scroll */
	{   10,    13,    16},	 /* enter_reverse_mode */
	{   21,    24,    27},	 /* cursor_invisible */
	{   32,    35,    38},	 /* cursor_normal */
	{   43,    46,    49},	 /* enter_dim_mode */
	{   54,    57,    60},	 /* label_on */
	{   65,    68,    71},	 /* label_off */
	{   76,    79,    82},	 /* enter_secure_mode */
	{   87,    90,    93},	 /* exit_attribute_mode */
	{   99,   102,   105},	 /* exit_alt_charset_mode */
	{  111,   114,   117},	 /* enter_alt_charset_mode */
	{  123,   126,   129},	 /* cursor_invis */
	{  135,   138,   141},	 /* cursor_normal */
	{  147,   150,   153},	 /* key_end */
	{  159,   162,   165},	 /* key_home */
	{  171,   174,   177},	 /* key_dl */
	{  183,   186,   189},	 /* key_npage */
	{  195,   198,   201},	 /* prtr_off */
	{  207,   210,   213},	 /* prtr_on */
	{  219,   222,   225},	 /* key_ppage */
	{  231,   234,   237},	 /* kent */
	{  243,   246,   249},	 /* kcuu1 */
	{  255,    -1,   258},	 /* double-ACS_ULCORNER */
	{  264,    -1,   267},	 /* double-ACS_LLCORNER */
	{  273,    -1,   276},	 /* double-ACS_URCORNER */
	{  282,    -1,   285},	 /* double-ACS_LRCORNER */
	{  291,    -1,   294},	 /* double-ACS_LTEE */
	{  300,    -1,   303},	 /* double-ACS_RTEE */
	{  309,    -1,   312},	 /* double-ACS_BTEE */
	{  318,    -1,   321},	 /* double */
	{  327,    -1,   330},	 /* double-ACS_HLINE */
	{  336,    -1,   339},	 /* double-ACS_VLINE */
	{  345,    -1,   348},	 /* double-ACS_PLUS */
	{  354,    -1,   357},	 /* acs-glitch */
	{  363,   366,   369},	 /* key_help */
	{  373,   376,   379},	 /* enter_dim_mode */
	{  384,   387,   390},	 /* key_f10 */
	{  394,   397,   400},	 /* key_f11 */
	{  404,   407,   410},	 /* key_f12 */
	{  414,   417,   420},	 /* key_f13 */
	{  424,   427,   430},	 /* key_f14 */
	{  434,   437,   440},	 /* key_f15 */
	{  444,   447,   450},	 /* set_background */
	{  454,   457,   460},	 /* set_foreground */
};

/* generated by MKcaptab.awk infoalias(1) */

static struct alias *_nc_infoalias_table = 0;

static const char infoalias_text[] = "\
font0\0s0ds\0IBM\0\
font1\0s1ds\0IBM\0\
font2\0s2ds\0IBM\0\
font3\0s3ds\0IBM\0\
kbtab\0kcbt\0IBM\0\
ksel\0kslt\0IBM\0\
";

static const alias_table_data infoalias_data[] = {
	{    0,     6,    11},	 /* set0_des_seq */
	{   15,    21,    26},	 /* set1_des_seq */
	{   30,    36,    41},	 /* set2_des_seq */
	{   45,    51,    56},	 /* set3_des_seq */
	{   60,    66,    71},	 /* key_backtab */
	{   75,    80,    85},	 /* key_select */
};


#if 1
static void
next_string(const char *strings, unsigned *offset)
{
	*offset += strlen(strings + *offset) + 1;
}

static const struct name_table_entry *
_nc_build_names(struct name_table_entry **actual,
		const name_table_data *source,
		const char *strings)
{
	if (*actual == 0) {
		*actual = typeCalloc(struct name_table_entry, CAPTABSIZE);
		if (*actual != 0) {
			unsigned n;
			unsigned len = 0;
			for (n = 0; n < CAPTABSIZE; ++n) {
				(*actual)[n].nte_name = strings + len;
				(*actual)[n].nte_type = source[n].nte_type;
				(*actual)[n].nte_index = source[n].nte_index;
				(*actual)[n].nte_link = source[n].nte_link;
				next_string(strings, &len);
			}
		}
	}
	return *actual;
}

#define add_alias(field) \
	if (source[n].field >= 0) { \
		(*actual)[n].field = strings + source[n].field; \
	}

static const struct alias *
_nc_build_alias(struct alias **actual,
		const alias_table_data *source,
		const char *strings,
		unsigned tablesize)
{
	if (*actual == 0) {
		*actual = typeCalloc(struct alias, tablesize + 1);
		if (*actual != 0) {
			unsigned n;
			for (n = 0; n < tablesize; ++n) {
				add_alias(from);
				add_alias(to);
				add_alias(source);
			}
		}
	}
	return *actual;
}

#define build_names(root) _nc_build_names(&_nc_##root##_table, \
					  root##_names_data, \
					  root##_names_text)
#define build_alias(root) _nc_build_alias(&_nc_##root##alias_table, \
					  root##alias_data, \
					  root##alias_text, \
					  SIZEOF(root##alias_data))
#else
#define build_names(root) _nc_ ## root ## _table
#define build_alias(root) _nc_ ## root ## alias_table
#endif

NCURSES_EXPORT(const struct name_table_entry *) _nc_get_table (bool termcap)
{
	return termcap ? build_names(cap) : build_names(info) ;
}

NCURSES_EXPORT(const short *) _nc_get_hash_table (bool termcap)
{
	return termcap ? _nc_cap_hash_table: _nc_info_hash_table ;
}

NCURSES_EXPORT(const struct alias *) _nc_get_alias_table (bool termcap)
{
	return termcap ? build_alias(cap) : build_alias(info) ;
}

#if NO_LEAKS
NCURSES_EXPORT(void) _nc_comp_captab_leaks(void)
{
#if 1
	FreeIfNeeded(_nc_cap_table);
	FreeIfNeeded(_nc_info_table);
	FreeIfNeeded(_nc_capalias_table);
	FreeIfNeeded(_nc_infoalias_table);
#endif
}
#endif /* NO_LEAKS */
